Detect CVE-2026-65400 Screen Sharing exploitation via SSFileCopy helpers - #6675
Merged
Conversation
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
Contributor
There was a problem hiding this comment.
Pull request overview
Adds new macOS Elastic Defend detection rules to identify suspected exploitation activity related to CVE-2026-65400 (Screen Sharing), focusing on the Screen Sharing file-copy helper binaries and their related persistence behaviors.
Changes:
- Adds a file-based EQL rule to detect
SSFileCopyReceiverwriting to common macOS persistence locations. - Adds a process-based rule intended to detect anomalous
SSFileCopySenderexecution consistent with pre-auth exploitation attempts.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| rules/macos/persistence_ssfilecopyreceiver_file_writes.toml | New EQL file-write detection for SSFileCopyReceiver targeting persistence-relevant paths. |
| rules/macos/initial_access_ssfilecopysender_root_execution.toml | New process execution detection for SSFileCopySender intended to flag pre-auth exploitation indicators. |
Suppressed comments (1)
rules/macos/initial_access_ssfilecopysender_root_execution.toml:100
- This rule is set to
type = "query", but the query body is EQL (process where ...). Set the ruletypeto"eql"(and ensurelanguage = "eql") or rewrite the query in KQL.
type = "query"
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "/Library/LaunchDaemons/*.plist", | ||
| "/Library/LaunchAgents/*.plist", | ||
| "/Users/*/Library/LaunchAgents/*.plist", | ||
| "/private/var/*/Library/LaunchAgents/*.plist" |
Comment on lines
+111
to
+115
| file.name in ( | ||
| ".zshenv", ".zshrc", ".zprofile", ".zlogin", | ||
| ".bashrc", ".bash_profile", ".bash_login", ".profile", | ||
| "config.fish", "environment.plist" | ||
| ) or |
| id = "T1098.004" | ||
| name = "SSH Authorized Keys" | ||
| reference = "https://attack.mitre.org/techniques/T1098/004/" | ||
|
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
Co-authored-by: Eric Forte <119343520+eric-forte-elastic@users.noreply.github.com>
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
shashank-elastic
requested review from
Aegrah,
Samirbous,
bryans3c and
eric-forte-elastic
August 20, 2026 07:29
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
Samirbous
reviewed
Aug 24, 2026
Samirbous
reviewed
Aug 24, 2026
|
⛔️ Test failed Results
|
Samirbous
reviewed
Aug 24, 2026
Co-authored-by: Samirbous <64742097+Samirbous@users.noreply.github.com>
|
⛔️ Test failed Results
|
Aegrah
approved these changes
Aug 25, 2026
|
⛔️ Test failed Results
|
Samirbous
approved these changes
Aug 27, 2026
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
|
⛔️ Test failed Results
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Issue link(s): NA
Summary - What I changed
SSFileCopySenderandSSFileCopyReceiver, which perform privileged file operations during exploitation.How To Test
Process Events
File Events
Checklist
bug,enhancement,schema,maintenance,Rule: New,Rule: Deprecation,Rule: Tuning,Hunt: New, orHunt: Tuningso guidelines can be generatedmeta:rapid-mergelabel if planning to merge within 24 hoursContributor checklist